package com.kingyea.mobilepolice.apimanage.log.dao;

import com.kingyea.mobilepolice.apimanage.log.bean.OperationLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description OperationLogMapper
 * @date Created in 2018-02-27 16:20:45
 */
public interface OperationLogMapper {

    /**
     * 通过ID获取对象
     */
    OperationLog getById(@Param("id") Long id);

    /**
     * 通过ID删除对象
     */
    void deleteById(@Param("id") Long id);

    /**
     * 更新对象
     */
    void update(OperationLog obj);

    /**
     * 保存对象
     */
    void save(OperationLog obj);

    /**
     * 查询列表
     */
    List<OperationLog> list(OperationLog obj);

    List searchByCondition(Map<String, Object> map);
}
